<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .nav {
            border-color: rgb(236, 0, 0);
            height: 40px;
            border-top: 3px solid rgb(230, 208, 111);
            border-bottom: 3px solid rgb(148, 142, 142);
        }

        a {
            background-color: chartreuse;
            display: inline-block;
            text-decoration: none;
            padding: 10px;
        }

        a:hover {
            background-color: rgb(236, 0, 0);
        }
    </style>
</head>

<body>
    <div>
        <div class="nav">
            <a href="">手机-电话卡</a>
            <a href="">电视-盒子</a>
            <a href="">笔记本-平板</a>
            <a href="">出行-穿戴</a>
            <a href="">智能-路由器</a>
            <a href="">健康-儿童</a>
            <a href="">耳机</a>
            <a href="">耳机-音响</a>
        </div>
        <div> 
            <a href="">耳机-音响</a>

        </div>
    </div>


</body>

</html>